<template>
  <dictionary-selector code="general_location_area" :data.sync="data" />
</template>

<script>
import { DictionarySelector } from "@monkey.do/monkey";

export default {
  name: "RegionDictionary",

  components: { DictionarySelector },

  data() {
    return {
      data: null,
    };
  },

  watch: {
    data: {
      handler: function(value) {
        this.$emit("update:value", value);
      },
    },
  },
};
</script>
